package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

/**
 * 牧场点兵玩法日志
 */
@FieldTypeAnnotation(tableName = "t_l_ck_pasture_game", autoSave = true,uploadCk = true,desc = "牧场点兵单局数据汇总日志")
public class LogPastureGame extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "用户ID",isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动ID",isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "本局游玩回合数")
    private int round;
    @FieldTypeAnnotation(desc = "本局积分")
    private long score;
    @FieldTypeAnnotation(desc = "本局总获得潜能数")
    private long totalGetEnergy;
    @FieldTypeAnnotation(desc = "本局总消耗潜能数")
    private long totalCostEnergy;
    @FieldTypeAnnotation(desc = "本局使用技能总数")
    private int useSkillCnt;
    @FieldTypeAnnotation(desc = "本局使用技能列表")
    private String useSkillMap;
    @FieldTypeAnnotation(desc = "本局消除方块列表")
    private String clearBlockMap;
    @FieldTypeAnnotation(desc = "本局复活次数")
    private int restartCnt;

    public LogPastureGame(long userId, int activityId, int round, long score, long totalGetEnergy, long totalCostEnergy, int useSkillCnt, String useSkillMap, String clearBlockMap, int reviveCnt, Date time) {
        this.userId = userId;
        this.activityId = activityId;
        this.round = round;
        this.score = score;
        this.totalGetEnergy = totalGetEnergy;
        this.totalCostEnergy = totalCostEnergy;
        this.useSkillCnt = useSkillCnt;
        this.useSkillMap = useSkillMap;
        this.clearBlockMap = clearBlockMap;
        this.restartCnt = reviveCnt;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public long getScore() {
        return score;
    }

    public void setScore(long score) {
        this.score = score;
    }

    public long getTotalGetEnergy() {
        return totalGetEnergy;
    }

    public void setTotalGetEnergy(long totalGetEnergy) {
        this.totalGetEnergy = totalGetEnergy;
    }

    public long getTotalCostEnergy() {
        return totalCostEnergy;
    }

    public void setTotalCostEnergy(long totalCostEnergy) {
        this.totalCostEnergy = totalCostEnergy;
    }

    public int getUseSkillCnt() {
        return useSkillCnt;
    }

    public void setUseSkillCnt(int useSkillCnt) {
        this.useSkillCnt = useSkillCnt;
    }

    public String getUseSkillMap() {
        return useSkillMap;
    }

    public void setUseSkillMap(String useSkillMap) {
        this.useSkillMap = useSkillMap;
    }

    public String getClearBlockMap() {
        return clearBlockMap;
    }

    public void setClearBlockMap(String clearBlockMap) {
        this.clearBlockMap = clearBlockMap;
    }

    public int getRestartCnt() {
        return restartCnt;
    }

    public void setRestartCnt(int restartCnt) {
        this.restartCnt = restartCnt;
    }


}
